M=100; N=100; K=41; L=40; D=100; students=[|82,37,81,37| 63,57,63,58| 66,1,67,1| 9,80,9,81| 97,92,98,92| 50,40,51,40| 23,98,23,99| 80,39,80,40| 27,40,26,40| 21,57,22,57| 5,74,4,74| 62,46,62,47| 78,20,78,19| 96,70,96,71| 89,93,90,93| 45,70,45,69| 64,43,63,43| 96,46,95,46| 48,32,47,32| 88,56,87,56| 56,79,56,78| 80,76,80,77| 66,3,66,4| 18,23,19,23| 32,22,32,23| 53,55,54,55| 75,44,74,44| 61,34,60,34| 99,62,99,61| 55,13,55,14| 76,76,76,77| 13,3,13,2| 52,28,52,27| 92,57,91,57| 33,96,33,95| 4,93,4,92| 51,47,51,48| 43,16,43,17| 85,72,85,71| 4,39,3,39| 64,88,64,87| 22,64,22,63| 72,1,73,1| 38,17,37,17| 86,72,86,71| 57,91,56,91| 8,15,9,15| 42,29,43,29| 29,4,29,3| 58,27,58,26| 37,76,38,76| 71,41,71,40| 82,68,83,68| 28,8,27,8| 7,26,7,25| 83,100,83,99| 27,73,27,74| 67,100,66,100| 71,54,71,55| 66,46,65,46| 4,67,5,67| 5,19,5,18| 79,64,79,65| 30,3,30,2| 55,79,56,79| 100,77,100,78| 61,28,61,29| 5,24,4,24| 74,81,75,81| 52,85,51,85| 96,36,97,36| 79,57,79,56| 27,34,28,34| 100,48,100,47| 61,47,61,48| 42,74,42,73| 63,56,62,56| 69,69,68,69| 53,42,53,41| 82,45,82,44| 80,34,79,34| 35,30,34,30| 86,29,87,29| 84,75,85,75| 29,82,29,83| 87,95,88,95| 51,85,50,85| 35,37,36,37| 94,25,94,24| 17,50,17,51| 12,43,11,43| 69,29,70,29| 68,22,69,22| 41,71,42,71| 83,4,83,3| 68,53,69,53| 56,2,57,2| 39,69,38,69| 1,55,2,55| 8,32,8,31|];